import request from '@/utils/request'

//登录
export function login(data) {
  return request({
    url: '/login/login/',
    method: 'post',
    data
  })
}

export function getInfo() {
  return request({
    url: '/sys/get_info/',
    method: 'post',
  })
}

export function upload(data) {
  return request({
    url: '/login/upload/',
    method: 'post',
    data
  })
}

export function uploadScript(data) {
  return request({
    url: '/login/upload/script/',
    method: 'post',
    data
  })
}


// ****************************************************待审核总数返回****

export function power_count(data) {
  return request({
    url: '/mini_back/power_count/ ',
    method: 'post', data
  })
}
